import { Module } from "@nestjs/common";
import { AppController } from "./app.controller";
import { AppService } from "./app.service";
import { UserModule } from "./module/user.module";
import { UserController } from "./controller/user.controller";
import { NewsModule } from "./module/news.module";
import { NewsController } from "./controller/news.controller";
import { RankModule } from "./module/rank.module";
import { RankController } from "./controller/rankController";

@Module({
  imports: [UserModule,NewsModule,RankModule],
  controllers: [AppController, UserController, NewsController,RankController],
  providers: [AppService]
})
export class AppModule {
}
